package com.jiawa.train.business.service;

import com.jiawa.train.business.domain.po.DailyTrainCarriage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.req.DailyTrainCarriageQueryReq;
import com.jiawa.train.business.req.DailyTrainCarriageSaveReq;
import com.jiawa.train.business.resp.DailyTrainCarriageQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 每日车厢 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-07
 */
public interface IDailyTrainCarriageService extends IService<DailyTrainCarriage> {


    PageResp<DailyTrainCarriageQueryResp> queryList(DailyTrainCarriageQueryReq req);

    void delete(Long id);

    void saveDailyTrainCarriage(DailyTrainCarriageSaveReq req);

    void genDaily(Date date, String code);

    List<DailyTrainCarriage> selectByTrainCodeAndSeatType(String trainCode, String seatType);
}
